<?php

viewReviewingDeadline();
function viewReviewingDeadline () {
    include ('config.php');
    //$currentConfID = '2000'; for testing the where clause
    //$currentconfID = '$_SESSION ["conference_id"]'; // need to actovate session
    $result = mysqli_query ($check,"SELECT rev_deadline FROM Conference where conference_id=$currentConfID") 
            or die ('here'.mysql_error()); // need conference_id from session
    $row = mysqli_fetch_assoc ($result);

  
    echo "
     <tr>
    <p> N.B: Please complete the reviewing process before <td>{$row['rev_deadline']}  </td>
     <p/>
 </tr>"; 
}
?>
    <br/>
    <p> Thank you.
    <p/>